package com.orchard.orchardfarmmanagementsystem.service;


import com.orchard.orchardfarmmanagementsystem.dto.MaintenanceRecordsDTO;
import com.orchard.orchardfarmmanagementsystem.dto.MaterialDTO;
import com.orchard.orchardfarmmanagementsystem.dto.SuppliesDTO;
import com.orchard.orchardfarmmanagementsystem.utils.Result;

import java.util.List;

public interface MaintenanceService {

  List<MaintenanceRecordsDTO> getMaintenanceRecords(Integer materialId);

  MaintenanceRecordsDTO createMaintenanceRecords(MaintenanceRecordsDTO maintenanceRecordsDTO);

  List<MaintenanceRecordsDTO> getAllMaintenanceRecords();

  MaintenanceRecordsDTO completeMaintenanceRecord(Integer id, MaintenanceRecordsDTO maintenanceRecordsDTO);

  Result deleteMaintenanceRecord(Integer id);
}